package com.energy.analysis.report.mapper;

import java.sql.Date;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.energy.analysis.comm.base.BaseMapper;
import com.energy.analysis.comm.page.Page;
import com.energy.analysis.report.entity.CollectDataDay;

public interface CollectDataDayMapper extends BaseMapper<CollectDataDay> {
	List<Map<String,Object>> getDataByDateTime(Page<CollectDataDay> page);
	int getDataByDateTimeCount(Page<CollectDataDay> page);
	List<Map<String,Object>> getDataEconByDateTime(Page<CollectDataDay> page);
	int getDataEconByDateTimeCount(Page<CollectDataDay> page);
	public java.sql.Date getMonthMaxDay(Map<String,Object> param);
	Date getMonthEconMaxDay(@Param("beginTime") String beginTime,@Param("endTime")  String endTime,@Param("stationName")String stationName);
	List<Map<String,Object>> getAnalysisWater(Page<CollectDataDay> page);
	int getAnalysisWaterCount(Page<CollectDataDay> page);
	List<Map<String, Object>> getAnalysisElectricity(Page<CollectDataDay> page);
	List<Map<String, Object>> getAnalysisHeat(Page<CollectDataDay> page);
	int getAnalysisCount(Page<CollectDataDay> page);
}
